#include "SudokuAbstractSolvingTechnique.h"

SudokuAbstractSolvingTechnique::SudokuAbstractSolvingTechnique(QString name, CellFillerTypes type, TechniqueCategory category,
                                                               QObject* parent) : QThread(parent),
    mName(name), mType(type), mCategory(category), mCount(0), mSudokuData(0)
{
}

void SudokuAbstractSolvingTechnique::run()
{
    qDebug() << ">>SudokuAbstractSolvingTechnique::run " << this;
    Q_ASSERT(mSudokuData);

    mCount = 0;

    solve();

    qDebug() << "<<SudokuAbstractSolvingTechnique::run " << this;
}
